<?php

class Date {

  function dateToSQL( $_date ) {
  
    $date = date( 'Y-m-d H:i:s', $_date );
    return $date;
  
  }

}
